<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
<link rel="stylesheet" href="../../javascript/plug-ins/layui/css/layui.css" media="all" />
<link rel="stylesheet" href="../../css/style.css" />		
<script src="../../javascript/jquery.js"></script>
<script src="../../javascript/plug-ins/layerUi/layer.js"></script>
<script type="text/javascript" src="../../javascript/plug-ins/pagination.js" ></script>

<script src="js/the_public.js"></script> 



	</head>
	<body>
		
	   <div class="page-wrap">		
		
		<section class="page-hd t">         
         <header>
			<h5 class="title">
				<a href="weixin_menu.html">自定义菜单</a>
				<a href="the_public.html" class="red">公众号绑定</a>
				
			</h5>	
		 </header>
		 <hr>
		</section>
		
		
		<div class="panel panel-default">
		
		<!--<div class="flex flex-wrap form-group">
			<input onclick="window.location.href='add_warden.html'" class="btn btn-primary" type="button" value="新增管理员" />
		</div>-->
		
		<div class="form-content">
		 	
		 	<form>
		 		<div class="form-group-col-2">
		 			<div class="form-label">公众号名称：</div>
		 			<div class="form-cont">
		 				  <input id="wx_name" class="form-control width50" type="text" value="" placeholder="请输入公众号名称" />
		 			</div>
		 		</div>	
		 		
		 		<div class="form-group-col-2">
		 			<div class="form-label">描述：</div>
		 			<div class="form-cont">
		 				 <textarea id="wx_ms" class="form-control width50" placeholder="请输入描述"></textarea>
		 			</div>
		 		</div>	
		 		
		 		<div class="form-group-col-2">
		 			<div class="form-label">公众号账号：</div>
		 			<div class="form-cont">
		 				  <input id="wx_number" class="form-control width50" type="text" value="" placeholder="请输入公众号账号" />
		 			</div>
		 		</div>	
		 		
		 		<div class="form-group-col-2">
		 			<div class="form-label">原始ID：</div>
		 			<div class="form-cont">
		 				  <input id="ys_id" class="form-control width50" type="text" value="" placeholder="请输入原始ID" />
		 			</div>
		 		</div>	
		 		
		 		<div class="form-group-col-2">
		 			<div class="form-label">类型：</div>
		 			<div class="form-cont">
		 				<select class="width20" id="wx_type">
							<option value="1">普通订阅号</option>
							<option value="2">普通服务号</option>
							<option value="3">认证订阅号</option>
							<option value="4">认证媒体/认证服务号/政府订阅号</option>
						</select>
		 			</div>
		 		</div>
		 		
		 		<div class="form-group-col-2">
		 			<div class="form-label">appId：</div>
		 			<div class="form-cont">
		 				  <input id="app_id" class="form-control width50" type="text" value="" placeholder="请输入appId" />
		 			</div>
		 		</div>	
		 		
		 		<div class="form-group-col-2">
		 			<div class="form-label">AppSecret：</div>
		 			<div class="form-cont">
		 				  <input id="app_key" class="form-control width50" type="text" value="" placeholder="请输入AppSecret" />
		 			</div>
		 		</div>	
		 		
		 		
		 		<div class="form-group-col-2">
		 			<div class="form-label">URL：</div>
		 			<div class="form-cont">
		 				   <input id="wx_url" class="form-control width50" type="text" value="" readonly="true" placeholder="请输入URL" />
		 			</div>
		 		</div>	
		 		
		 		<div class="form-group-col-2">
		 			<div class="form-label">Token：</div>
		 			<div class="form-cont">
		 				   <input id="wx_token" class="form-control width50" type="text" value="" placeholder="请输入Token" />
						   <input type="button" value="随机生成" onclick="add_token()" class="btn btn-info" />
		 			</div>
		 		</div>	
		 		
		 		<div class="form-group-col-2">
		 			<div class="form-label">EncodingAESKey：</div>
		 			<div class="form-cont">
		 				   <input id="wx_Ekey" class="form-control width50" type="text" value="" placeholder="请输入EncodingAESKey" />
						   <input type="button" value="随机生成" onclick="add_AESKey()" class="btn btn-info" />
		 			</div>
		 		</div>	
		 		
		 		

		 		
		 		<div class="form-group-col-2">
		 			<div class="form-label"></div>
		 			<div class="form-cont">
                       <input type="button" value="提交" onclick="update_public()" class="btn btn-info" />
					<!--   <input type="button" value="返回" class="btn btn-danger" />	-->
		 			</div>
		 		</div>
		 		
		 		
		 	</form>
		 	
		 	
		 </div><!--form--->
		 
		
		
		
		

		
		
		</div><!---panel--->
			
	   </div><!---page-wrap------>		
		
		
	</body>
	
		
	
</html>
